package com.ruoyi.web.wechatweb;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/notice/dingding")
@Slf4j
public class DingDingController {

    @PostMapping("/sendMessage")
    public String sendMessage(@RequestBody String message){

        log.info("DingDingController sendMessage 接收消息：{}", message);

        return "发送成功";
    }

}
